
class ThreadNode {

    Thread thread;
    int priority;

    ThreadNode(Thread t, int p) {
        super();
        thread = t;
        priority = p;
    }

    void setDesiredPriority(int p) {
        priority = p;
    }
}
